<ion-nav-view>
  <ion-view>
    <ion-header-bar align-title="center" class="headbar bar-header bar-clear">
      <a nav-direction="back" nav-transition="ios"
                class="button icon ion-ios-arrow-left button-clear " ng-href="#/more" target="_self"></a>

      <h1 class="title">完善资料</h1>
      <button class="button button-royal button-clear" side="right" ng-click="saveinf()">保存</button>
    </ion-header-bar>
    <ion-content has-header="true" scroll="true" scrollbar-y="false">

      <div ng-if="!selectedImage" class="card picsu">
        <img ng-if="!selectedImage && $root.currentUser.images.face" id="reviewmig" ng-src="{{$root.currentUser.images.face}}"/>
      </div>

      <!--
      <ul>
          <li ng-repeat="item in uploader.queue">
            <div class="card picsu">
              <div id="reviewmig" ng-thumb="{ file: item._file, width: 200, height: 200 }"></div>
              
                <button ng-click="item.upload()">上传</button>
                <button ng-click="upload(item)">上传</button>
            </div>
          </li>
      </ul>
      -->
<!-- <div class="img-upload">
      <input ng-if="!selectedImage" type="file"  nv-file-select uploader="uploader"/>
    </div> -->

      <ion-button class="a-upload" ng-click="imagePicker()">点击更换</ion-button>
      <!--
      <div class="a-upload">
        <input ng-if="!selectedImage" type="file"  nv-file-select uploader="uploader">点击更换
      </div>
      -->
      <!--
      <div ng-if="selectedImage">
        <button class="button button-light button-clear" id="okpic" ng-click="upload()">确定</button>
        <button class="button button-light button-clear" id="cancelpic" ng-click="cancel()">取消</button>
      </div>
      -->
      <!--
          <button class="button button-light button-clear" id="changpic" ng-click="changpic()">点击更换</button>
    -->
    <div class="per list" id="nic">
      <label class="item item-input item-stacked-label">
        <span class="input-label">昵称</span>
        <input type="text" ng-model="user.others.realname" placeholder="{{user.others.realname}}"></label>
      <label class="item item-input item-select">
        <span class="input-label">车型</span>
        <select>
          <option selected>奥迪</option>
          <option>宝马</option>
          <option>奔驰</option>
          <option>路虎</option>
          <option>本田</option>
          <option>丰田</option>
          <option>大众</option>
          <option>野马</option>
          <option>别克</option>
          <option>比亚迪</option>
          <option>东风日产</option>
          <option>雪弗兰</option>
        </select>
        <!-- <input type="text" ng-model="user.others.car" placeholder="{{user.others.car || ''}}">--></label>
      <label class="item item-input item-stacked-label">
        <span class="input-label">电话</span>
        <input type="text" ng-model="user.others.tel" placeholder="{{user.others.tel || ''}}"></label>

      <!-- <a class="button button-clear" ng-href="#/driverinfo" target="_self">司机报名</a>
    -->
    <div ng-if="!isDriver()">
      <a ng-href="#/driverinfo" target="_self">
        <button class="logining button button-calm button-block">司机报名</button>
      </a>
    </div>
  </div>
  <!--
      <div class="per list">

  <label class="item item-input item-select">
    <div class="input-label">车型</div>
    <select>
      <option selected>男</option>
      <option>女</option>
    </select>
  </label>

</div>

<div class="per list">

  <label class="item item-input item-select">
    <div class="input-label">生日</div>
    <select>
      <option selected>1990-01-01</option>
      <option>1990-01-02</option>
    </select>
  </label>

</div>

<div class="per list">

  <label class="item item-input item-select">
    <div class="input-label">星座</div>
    <select>
      <option selected>白羊座</option>
      <option>金牛座</option>
      <option>双子座</option>
      <option>巨蟹座</option>
      <option>狮子座</option>
      <option>处女座</option>
      <option>天秤座</option>
      <option>天蝎座</option>
      <option>射手座</option>
      <option>摩羯座</option>
      <option>水瓶座</option>
      <option>双鱼座</option>
    </select>
  </label>

</div>
-->
</ion-content>
</ion-view>
</ion-nav-view>